* {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p, h1, h2, h3, h4, h5, h6, small, div, li, a {
    font-family: "Microsoft YaHei" !important;
    color: #999999;
}

.banner {
    width: 100% !important;
}

.banner img {
    width: 100% !important;
    display: block;
}

.wrap {
    margin-bottom: 58px;
}
.badge{
    display: inline-block;
    padding: 3px;
    border-radius: 50%;
    background-color: #1086cc;
    vertical-align: middle;
    margin-right: 8px;
    /*font-size: 0px;*/
    /*letter-spacing: 0;*/
    /*line-height: 0;*/
}
/*红包*/
#reward{
    position: relative;
    overflow: hidden;
}
#shine{
    font-size: 0px;
    line-height: 0px;
    margin: 6px 0;
    width: 10%;
    height: 40%;
    animation: flicker 4000ms ease infinite;
    position: absolute;
    top: 30%;
    left: 45%;
}
#shine2{
    font-size: 0px;
    line-height: 0px;
    margin: 6px 0;
    width: 10%;
    height: 10%;
    animation: flicker 4000ms ease infinite;
    position: absolute;
    bottom:16%;
    left: 45%;
}
#reward-had{
    width: 20%;
    height: 40%;
    position: absolute;
    top: 14%;
    left: 40%;
}
#reward-had2{
    width: 20%;
    height: 40%;
    position: absolute;
    bottom: 8%;
    left: 40%;
}
@keyframes flicker {
    0%, 100% {
        background: #fefa01;
        box-shadow: 0 0 1rem #fefa01, inset 0rem 0 0 0.5rem rgba(14, 10, 10, 0.1);
    }
    30%, 70% {
        background: #fffd99;
        box-shadow: 0 0 4rem 1rem #fefa01, inset 0rem 0 0 0.5rem rgba(14, 10, 10, 0.1);
    }
    50% {
        box-shadow: 0 0 4rem 1rem rgba(254, 250, 1, 0.8), inset 0rem 0 0 0.5rem rgba(14, 10, 10, 0.1);
    }
}
#reward img{
    display: inline-block;
    height: auto;
    max-width: 100%;
}
#click-reward1,#click-reward2,#click-reward3,#click-reward4,#open-redbag,#reward-ani,#reward-info{
    display: none;
}
.click-img{
    position: fixed;
    z-index: 99;
    top: -10%;
    height: auto;
    max-width: 100%;
}
#ani-img{
    position: fixed;
    z-index: 99;
    top: 22%;
    left: 25%;
    height: auto;
    max-width: 50%;
    animation: toup 1.5s ease infinite;
    -moz-animation: toup 1.5s ease infinite;	/* Firefox */
    -webkit-animation: toup 1.5s ease infinite;	/* Safari 和 Chrome */
    -o-animation: toup 1.5s ease infinite;	/* Opera */
}
@keyframes toup {
    0%{
        opacity: 1;
        transform:translate(0px,100px);
        -ms-transform:translate(0px,100px); /* IE 9 */
        -moz-transform:translate(0px,100px); /* Firefox */
        -webkit-transform:translate(0px,100px); /* Safari and Chrome */
        -o-transform:translate(0px,100px); /* Opera */
    }
    100%{
        opacity: 0;
        transform:translate(0px,0px);
        -ms-transform:translate(0px,0px); /* IE 9 */
        -moz-transform:translate(0px,0px); /* Firefox */
        -webkit-transform:translate(0px,0px); /* Safari and Chrome */
        -o-transform:translate(0px,0px); /* Opera */
    }
}
#ani-img2{
    position: fixed;
    z-index: 99;
    top: 35%;
    left: 18%;
    max-width: 64%;
}
.reward-close{
    position: fixed;
    z-index: 999;
    top: 10%;
    right: 10%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: black;
}
#reward-open{
    position: fixed;
    z-index: 999;
    top: 50%;
    right: 42%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: yellow;
}
#reward-info{
    position: fixed;
    z-index: 99;
    bottom: 7%;
    letter-spacing: 0px;
    color: #fff;
    font-size: 14px;
}
/*轮播图片管理*/
.swiper-slide img{
    width: 300px;
    height: 200px;
}
/*tab*/
.tab-hd {
    width: 100%;
    height: 40px;
    line-height: 40px;
}

.tab-hd li {
    width: 50%;
    color: #333;
    text-align: center;
    float: left;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid darkgray;
    box-sizing: border-box;
}

.tab-hd li.active {
    color: #1086cc;
    border: 1px solid darkgray;
    border-bottom: 0px;
    border-radius: 4px 4px 0 0;
}
/*产品信息-批次信息*/
.part {
    padding: 10px;
    border-bottom: 1px solid #d4d4d4;
    width: 86%;
    margin: 0 auto;
}

.part .title {
    color: #111111;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 10px;
}
.part .part-text {
    color: #666666;
    font-size: 16px;
    overflow: hidden;
}
.part .part-text p img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
.part .part-text h3 {
    color: #333333;
    font-weight: normal;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 16px;
}

.part2 .part-text p {
    color: #333333;
}

.part2 .part-text img {
    width: 100%;
}

.footer {
    text-align: center;
    height: 40px;
    line-height: 40px;
    background: red;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #ffffff;
    border-radius: 2px;
}

.footer a {
    display: block;
    color: #ffffff;
}

.potion {
    position: fixed;
    top: 30%;
    right: 10px;
    z-index: 9999;
    opacity: 0.8;
}

.potion img {
    width: 50px;
}

/*新代码*/
.banner img {
    display: block;
}

.opacity {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 10;
    width: 100%;
    height: 100%;
    display: none;
}

.alpha {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.alpha body {
    height: 100%;
    overflow: hidden;
}
